projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
158d74d
)
filechooserbutton: In tests, sleep after opening the dialog
author
Federico Mena Quintero
<federico@gnome.org>
Thu, 21 Feb 2013 00:52:23 +0000
(18:52 -0600)
committer
Federico Mena Quintero
<federico@gnome.org>
Thu, 21 Feb 2013 02:13:07 +0000
(20:13 -0600)
This may ensure that the dialog is actually done initializing. We need to kill this
sleeping business and really use signals, sigh...
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/tests/filechooser.c
patch
|
blob
|
history
diff --git
a/gtk/tests/filechooser.c
b/gtk/tests/filechooser.c
index 399e8e7ccb04175053a030f602f9fb7882c6e944..8aa59937930f0168daf4e4765808a1f018a597e9 100644
(file)
--- a/
gtk/tests/filechooser.c
+++ b/
gtk/tests/filechooser.c
@@
-421,7
+421,7
@@
test_file_chooser_button (gconstpointer data)
gtk_button_clicked (GTK_BUTTON (children->data));
g_list_free (children);
-
wait_for_idle
();
+
sleep_in_main_loop
();
/* Give me the internal dialog, damnit */
fc_dialog = g_object_get_qdata (G_OBJECT (fc_button), delegate_get_quark ());